package com.example.demo.core.exception;

import com.example.demo.core.model.StatusEnum;

public class ProgramException extends BaseException {
    public ProgramException(StatusEnum statusEnum, Object data) {
        super(statusEnum, data);
    }

    public ProgramException(StatusEnum statusEnum) {
        super(statusEnum);
    }

    public ProgramException(String message) {
        super(message);
        super.setStatus(StatusEnum.PRO_ERROR.getStatus());
    }

}
